package com.whmall.service.crm.module.companyuser.dao;

import com.whmall.service.crm.module.companyuser.entity.CompanyUserQuotationInvervalDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompanyUserQuotationInvervalMapper {
    int deleteById(Long id);

    int insert(CompanyUserQuotationInvervalDO record);

    int insertSelective(CompanyUserQuotationInvervalDO record);

    CompanyUserQuotationInvervalDO selectById(Long id);

    List<CompanyUserQuotationInvervalDO> selectByUserId(Long userId);

    List<CompanyUserQuotationInvervalDO> selectByUserIds(List<Long> userIds);

    int updateByIdSelective(CompanyUserQuotationInvervalDO record);

    int updateById(CompanyUserQuotationInvervalDO record);

    void batchInsert(@Param("list") List<CompanyUserQuotationInvervalDO> list);

    void batchDelete(@Param("list") List<Long> list);
}